package cn.signalpha.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 实体类
 *
 * @author signalpha
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("shop_seller_address")
@ApiModel(value = "SellerAddress对象", description = "商户地址")
public class SellerAddress implements Serializable {

    private static final long serialVersionUID = 1L;

  	@TableId(value = "id", type = IdType.ASSIGN_ID)
  	private Long id;

    @ApiModelProperty(value = "商户id")
    private Long sellerId;

	@ApiModelProperty(value = "地址名称")
	private String name;

    @ApiModelProperty(value = "收货人")
    private String consignee;

    @ApiModelProperty(value = "手机")
    private String mobile;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String district;

    @ApiModelProperty(value = "地址")
    private String address;

	@ApiModelProperty(value = "经度")
	private String lng;

	@ApiModelProperty(value = "纬度")
	private String lat;

    @ApiModelProperty(value = "是否默认")
    private Integer isDefault;

}
